<%--
  Created by IntelliJ IDEA.
  User: ghp
  Date: 2022/10/4
  Time: 10:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Param</title>
</head>
<body style="text-align: center;">
<form action="${pageContext.request.contextPath}/jsp/param.jsp">
    num1: <input type="text" name="num1"><br/>
    num2: <input type="text" name="num"><br/>
    num3: <input type="text" name="num"><br/>
    <input type="submit" value="提交">&nbsp;&nbsp;<input type="submit" value="重置">
    <hr/>
    <%--使用EL表达式的隐式对象回去输入框name属性的值--%>
    num1: ${param.num1}<br/>
    num2: ${paramValues.num[0]}<br/>
    num3: ${paramValues.num[1]}<br/>
</form>
</body>
</html>
